<template>
		<view class="admin">
			<van-cell-group inset>
				<van-cell title="分类管理"  is-link @click="goPage('cate')" />
				<van-cell title="商品" is-link @click="goPage('goods')" />
			</van-cell-group>
		</view>
</template>

<script>
	export default {
			methods:{
				goPage(url){
					let router = {
						cate:"/pages/category/list",
						goods:"/uni_modules/goods/pages/goods/list"
					};
					uni.navigateTo({
						url:router[url]
					})
				}
			}
		}
</script>

<style>
</style>